package com.flea.hclv.model.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import com.flea.hclv.model.entity.HAddress;
import com.flea.hclv.model.entity.HotelRoom;

public interface HotelRoomMapper {
    int deleteByPrimaryKey(String id);

    int insert(HotelRoom record);

    int insertSelective(HotelRoom record);

    HotelRoom selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HotelRoom record);

    int updateByPrimaryKey(HotelRoom record);

	List<HotelRoom> selectPagingsByOrgId(RowBounds rowBounds, @Param("orgId")String orgId);

	List<HotelRoom> selectPagingsByOrgParams(RowBounds rowBounds,
			@Param("orgId")String deptId, @Param("queryName")String queryName, @Param("queryLevel")String queryLevel,
			@Param("queryStyleType")String queryStyleType, @Param("address")List<HAddress> address);

	int deleteByPrimaryKeys(@Param("deleteIds")List<String> idsArray);
}